/**
 * app框架的内部公共头
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import {
    AppRegistry,
    StyleSheet,
    Text,
    View,
    PixelRatio

} from 'react-native';

 class Header extends Component {

    render() {
        return (
            <View style={styles.flex}>
                <Text style={[styles.fount]}>网易新闻在线</Text>
            </View>

        );
    }
}

const styles = StyleSheet.create({
    flex:{
        marginTop:15,
        height:50,
        borderBottomWidth:1/PixelRatio.get(),
        borderBottomColor:'#ff0000',
        alignItems:'center',
    },
    fount:{
        fontSize:24,
        color:'#ff0000',
        fontWeight:'bold',
        textAlign:'center',
    },


});
module.exports=Header;

